package com.yuanchu.store.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 商品sku
 * @date: 2024-02-04 13:44
 */
// @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Data
public class GoodsSkuDto {
    private int id;
    @JsonProperty("goods_sku_id")
    private String goodsSkuId;
    @JsonProperty("goods_id")
    private int goodsId;
    @JsonProperty("image_id")
    private int imageId;
    @JsonProperty("goods_sku_no")
    private String goodsSkuNo;
    @JsonProperty("goods_price")
    private String goodsPrice;
    @JsonProperty("line_price")
    private String linePrice;
    @JsonProperty("stock_num")
    private int stockNum;
    @JsonProperty("goods_weight")
    private int goodsWeight;
    @JsonProperty("goods_props")
    private List<Map<String, Object>> goodsProps;
    @JsonProperty("spec_value_ids")
    private List<Integer> specValueIds;
    @JsonProperty("image_url")
    private String imageUrl;
    @JsonProperty("goods_image")
    private String goodsImage;
}
